package com.shixun.milktea.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.*;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

/**
 * @author : hzc
 * @date: 2022/6/26 - 06 - 26 - 9:13
 * @Description: com.shixun.milktea.vo
 * @version: 1.0
 */
@Setter
@Getter
@AllArgsConstructor
@NoArgsConstructor
public class OrderVo{
    private Integer orderId;

    private String orderStatus;

    private String orderMsg;

    private Integer consumerId;

    private String orderAddress;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date orderTime;

    private List<OrderDetailVo> orderDetailVos;
}
